﻿<Window x:Class="Draw.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        
        xmlns:my="clr-namespace:Draw"
        Title="MainWindow" Height="350" Width="525">
    <DockPanel>
        <Menu DockPanel.Dock="Top" Height="40">
            <MenuItem Header="File">
                <MenuItem Command="New"></MenuItem>
                <MenuItem Command="Copy"></MenuItem>
            </MenuItem>
        </Menu>
        
        <Grid DockPanel.Dock="Left" Width="60">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Button Name="Line">Line</Button>
            <Button Name="Rectangle" Grid.Row="1" Height="68" VerticalAlignment="Bottom">Rectangel</Button>
        </Grid>
        <my:MyCanvasUc x:Name="newCanvas">
            
        </my:MyCanvasUc>
    </DockPanel>
</Window>
